package com.guagua.system.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import org.springframework.stereotype.Component;

@Data
@TableName("upload_config")
public class UploadConfig {

    @TableId(type = IdType.AUTO)
    private Long id;
    
    /** 存储类型：LOCAL/MINIO */
    private String storageType;
    
    /** 是否启用 */
    private Boolean enabled;
    
    /** MinIO服务地址 */
    private String minioEndpoint;
    
    /** MinIO访问key */
    private String minioAccessKey;
    
    /** MinIO密钥 */
    private String minioSecretKey;
    
    /** MinIO桶名称 */
    private String minioBucketName;
    
    /** 本地存储路径 */
    private String localStoragePath;
    
    /** 本地访问URL前缀 */
    private String localAccessUrl;

} 